package com.kun.valiant.clue.service;

import com.kun.valiant.clue.domain.Clue;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kun.valiant.clue.domain.vo.ClueDetails;
import com.kun.valiant.clue.domain.vo.ClueSummary;
import com.kun.valiant.clue.domain.vo.ClueVO;
import com.kun.valiant.common.core.domain.AjaxResult;

import java.util.List;

/**
 * <p>
 * 线索 服务类
 * </p>
 *
 * @author fangkun
 * @since 2023-06-08
 */
public interface IClueService extends IService<Clue> {

    AjaxResult addClue(Clue clue);

    List<ClueSummary> selectAllList(ClueVO clueVO);

    AjaxResult getClueDetailsByClueId(Long clueId);

    AjaxResult clueFollow(ClueDetails clueDetails);

    AjaxResult invalidClueFollow(ClueDetails clueDetails);

    AjaxResult getClueSummaryById(Long clueId);

    AjaxResult updateClue(Clue clue);

    AjaxResult deleteClueById(Long[] clueIds);

    AjaxResult clue2Business(Long clueId);

    AjaxResult clueAnalysisData(ClueVO clueVO);
}
